//
//  ChangeInfoViewController.h
//  WDFans
//
//  Created by Zhihong Yuan on 3/8/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "AbstractTabViewController.h"

typedef enum {
    kViewEdit,
    kViewAdd
}ViewType;

typedef enum {
    kUsername = 1,
    kPassword,
    kRepeatPassword,
    kMail,
    kAddr
}TextFieldType;

@class WDUsers;

@interface ChangeInfoViewController : AbstractTabViewController
<UIPickerViewDelegate, UIPickerViewDataSource,UIAlertViewDelegate,UITextFieldDelegate>



//@property (nonatomic, retain) NSArray *properties;
@property (nonatomic, retain) WDUsers *changeUser;
@property (nonatomic, copy) NSString *changedPwd;

@property (nonatomic, assign ) ViewType viewType;

@property (nonatomic, retain) IBOutlet UILabel* password;
@property (nonatomic, retain) IBOutlet UILabel* repeatPassword;
@property (nonatomic, retain) IBOutlet UIView* addrView;
@property (nonatomic, retain) IBOutlet UIPickerView* picker;



- (IBAction)addrClick:(id)sender;



@end
